﻿<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">

  <Field Type="Lookup" 
         DisplayName="Property" 
         Required="FALSE" 
         List="Lists/Properties" 
         ShowField="Address"
         Group="Property Management Columns" 
         ID="{9522ec6d-3128-4fdf-a606-1ec427b93a92}"
         StaticName="Property" 
         Name="Property"/>
  
  <Field ID="{27ad826d-8766-4cf4-bdb3-ba9ef9b28450}" 
         Name="House_x0020_Number" 
         Required="TRUE"
         StaticName="House_x0020_Number" 
         Group="Property Management Columns"
         Type="Text" 
         DisplayName="House Number"/>
  
  <Field ID="{52ab2bbb-5044-4d16-8648-db2968a62709}" 
         Name="Street_x0020_Line1" 
         Required="TRUE"
         StaticName="Street_x0020_Line1" 
         Group="Property Management Columns"
         Type="Text"
         DisplayName="Street Line1"/>
  
  <Field ID="{4c624f16-8779-4093-8e8c-15085557dfd1}"
         Name="Street_x0020_Line2"
         Required="TRUE"
         StaticName="Street_x0020_Line2" 
         Group="Property Management Columns"
         Type="Text" 
         DisplayName="Street Line2" />
  
  <Field ID="{19effed6-5898-4dff-924c-26187c397e68}" 
         Name="Town"
         Required="TRUE"
         StaticName="Town" 
         Group="Property Management Columns" 
         Type="Text" 
         DisplayName="Town"/>
  
  <Field ID="{9214d8f5-32c8-42e6-96a3-835d5c514982}" 
         Name="Country"
         Required="TRUE"
         StaticName="Country"
         Group="Property Management Columns"
         Type="Text" 
         DisplayName="Country"/>
  
  <Field ID="{f6d32d78-9ca1-4c4d-b49f-03aecedde2ff}"
         Name="Postcode"
         Required="TRUE"
         StaticName="Postcode" 
         Group="Property Management Columns" 
         Type="Text"
         DisplayName="Postcode"/>

  <Field ID="{0481d4e1-9227-4fbe-9cfb-7f11031604b1}"
         Name="Contact_x0020_Title"
         Required="TRUE"
         StaticName="Contact_x0020_Title"
         Group="Property Management Columns" 
         Type="Text" 
         DisplayName="Contact Title"/>
  
  <Field ID="{cdb4260d-5cc4-441e-9679-c454bcc0af4c}" 
         Name="Surname" 
         Required="TRUE"
         StaticName="Surname"
         Group="Property Management Columns"
         Type="Text"
         DisplayName="Surname"/>

  <Field ID="{b2739ffb-6546-4f84-baf6-7402e576c2ec}"
         Type="Calculated" 
         DisplayName="Address" 
         Format="DateOnly" 
         LCID="1033"
         ResultType="Text"
         ReadOnly="TRUE"
         StaticName="Address" 
         Name="Address"
         Group="Property Management Columns">
    <Formula>=CONCATENATE(House_x0020_Number," ",Street_x0020_Line1,", ",Street_x0020_Line2,", ",Town,", ",Postcode)</Formula>
    <FieldRefs>
      <FieldRef Name="Postcode" />
      <FieldRef Name="Town" />
      <FieldRef Name="Street_x0020_Line2" />
      <FieldRef Name="Street_x0020_Line1" />
      <FieldRef Name="House_x0020_Number" />
    </FieldRefs>
  </Field>

  <Field Group="Property Management Columns" Type="Choice" DisplayName="Area" Required="FALSE" Format="Dropdown" FillInChoice="TRUE" ID="{bbd63946-6568-418b-afdc-4775c7780797}" StaticName="Area" Name="Property Area">
    <Default>London</Default>
    <CHOICES>
      <CHOICE>London</CHOICE>
      <CHOICE>North</CHOICE>
      <CHOICE>East</CHOICE>
      <CHOICE>South</CHOICE>
      <CHOICE>West</CHOICE>
    </CHOICES>
  </Field>

  <Field Group="Property Management Columns" Type="Choice" DisplayName="Branch" Required="FALSE" Format="Dropdown" FillInChoice="FALSE" ID="{af3ffb75-f413-443d-8a61-671c843e47f8}" StaticName="Branch" Name="Agent Branch">
    <Default>London</Default>
    <CHOICES>
      <CHOICE>London</CHOICE>
      <CHOICE>South</CHOICE>
      <CHOICE>North</CHOICE>
      <CHOICE>East</CHOICE>
      <CHOICE>West</CHOICE>
    </CHOICES>
  </Field>

  <Field Group="Property Management Columns" Type="Note" DisplayName="Description" Required="FALSE" NumLines="6" RichText="FALSE" Sortable="FALSE" ID="{3beb638c-aee1-474b-b828-7dfa83aad11d}" StaticName="Description" Name="Property Description"/>

  <Field Group="Property Management Columns" Type="User" DisplayName="Negotiator" List="UserInfo" Required="TRUE" ShowField="ImnName" ID="{f243fe1e-aaa8-41c7-b0a8-153593f1e22f}" StaticName="Negotiator" Name="Negotiator"/>

  <Field Group="Property Management Columns" Type="Note" DisplayName="Note" Required="FALSE" NumLines="6" RichText="FALSE" Sortable="FALSE" ID="{18630ba1-55c1-4e54-9082-beadb7e758f4}" StaticName="Note" Name="Property Note"/>

  <Field Group="Property Management Columns" Type="Choice" DisplayName="Ownership" Required="FALSE" Format="Dropdown" FillInChoice="FALSE" ID="{faf319e2-d7d5-4a23-a48d-a70c21d76202}" StaticName="Ownership" Name="Ownership">
    <Default>Freehold</Default>
    <CHOICES>
      <CHOICE>Freehold</CHOICE>
      <CHOICE>Leasehold</CHOICE>
    </CHOICES>
  </Field>

    <Field Group="Property Management Columns" Type="Choice" DisplayName="Property Class" Required="FALSE" Format="Dropdown" FillInChoice="FALSE" ID="{b6cfff1c-604b-4ecc-824d-909e935c32e2}" StaticName="Property_x0020_Class" Name="Property_x0020_Class" >
      <Default>Residential</Default>
      <CHOICES>
        <CHOICE>Residential</CHOICE>
        <CHOICE>Commercial</CHOICE>
      </CHOICES>
    </Field>
  
    <Field Group="Property Management Columns" Type="Choice" DisplayName="Property Type" Required="FALSE" Format="Dropdown" FillInChoice="TRUE" ID="{50fa8abb-d798-47d3-b484-6c12d32be459}" StaticName="Property_x0020_Type" Name="Property_x0020_Type" ColName="nvarchar11" RowOrdinal="0" >
      <Default>Bungalow</Default>
      <CHOICES>
        <CHOICE>Bungalow</CHOICE>
        <CHOICE>Bungalow Detached</CHOICE>
        <CHOICE>Bungalow Semi-Detached</CHOICE>
        <CHOICE>Bungalow Terraced</CHOICE>
        <CHOICE>Cottage</CHOICE>
        <CHOICE>Detached</CHOICE>
        <CHOICE>Divided Villa</CHOICE>
        <CHOICE>End of Terrace</CHOICE>
        <CHOICE>End Terraced Cottage</CHOICE>
        <CHOICE>Flat</CHOICE>
        <CHOICE>Linked</CHOICE>
        <CHOICE>Mid Terraced Cottage</CHOICE>
        <CHOICE>Mid Terraced Villa</CHOICE>
        <CHOICE>Semi-Detached</CHOICE>
        <CHOICE>Villa Detached</CHOICE>
      </CHOICES>
    </Field>
    <Field Group="Property Management Columns" Type="Choice" DisplayName="Price Type" Required="FALSE" Format="Dropdown" FillInChoice="TRUE" ID="{a756cf47-8955-4772-9b0e-8928d77d0b64}" StaticName="Price_x0020_Type" Name="Price_x0020_Type" ColName="nvarchar12" RowOrdinal="0" >
      <Default>Offer Over</Default>
      <CHOICES>
        <CHOICE>Offer Over</CHOICE>
        <CHOICE>Fixed Price</CHOICE>
      </CHOICES>
    </Field>

   
   <Field Group="Property Management Columns" Type="Boolean" DisplayName="Require Mortage" ID="{56260ce4-5783-4459-9eb9-86a729a77222}" StaticName="Require_x0020_Mortage" Name="Require_x0020_Mortage" ColName="bit1" RowOrdinal="0">
      <Default>1</Default>
    </Field>
    <Field Group="Property Management Columns" Type="MultiChoice" DisplayName="Preferred Contact method" Required="FALSE" FillInChoice="FALSE" ID="{d1772203-354d-42d1-b178-07c607ba217e}" StaticName="Preferred_x0020_Contact_x0020_me" Name="Preferred_x0020_Contact_x0020_me" ColName="ntext4" RowOrdinal="0" >
      <Default>Phone</Default>
      <CHOICES>
        <CHOICE>Phone</CHOICE>
        <CHOICE>Post</CHOICE>
        <CHOICE>Email</CHOICE>
      </CHOICES>
    </Field>
  
    <Field Group="Property Management Columns" Type="Choice" DisplayName="Property Status"  Required="FALSE" Format="Dropdown" FillInChoice="FALSE" ID="{3dd2377c-9d6e-4355-a8d4-7cdab20ae5cc}" StaticName="Property_x0020_Status" Name="Property_x0020_Status">
      <Default>Created</Default>
      <CHOICES>
        <CHOICE>Created</CHOICE>
        <CHOICE>Evaluated</CHOICE>
        <CHOICE>Published</CHOICE>
        <CHOICE>Sold</CHOICE>
        <CHOICE>Terminated</CHOICE>
      </CHOICES>
    </Field>
  
    <Field Group="Property Management Columns" Type="Currency" DisplayName="Price" Required="FALSE" Min="0" LCID="2057" ID="{eb392cb1-fecf-41d0-ad53-0183d65691b1}" StaticName="Price" Name="Property Price"/>
    <Field Group="Property Management Columns" Type="DateTime" DisplayName="Evaluation Date" Required="FALSE" Format="DateTime" ID="{6b19b4e3-ae74-432d-b168-445845c27eff}" StaticName="Evaluation_x0020_Date" Name="Evaluation_x0020_Date" />
    <Field Group="Property Management Columns" Type="DateTime" DisplayName="Published Date" Required="FALSE" Format="DateTime" ID="{ff04836d-bad0-497c-ac62-ddfa25289603}" StaticName="Published_x0020_Date" Name="Published_x0020_Date" />
    <Field Group="Property Management Columns" Type="DateTime" DisplayName="Sold Date" Required="FALSE" Format="DateTime" ID="{d013a0d2-7526-4698-a1b9-0f7ef8875c1f}"  StaticName="Sold_x0020_Date" Name="Sold_x0020_Date"/>
    <Field Group="Property Management Columns" Type="DateTime" DisplayName="Terminated Date" Required="FALSE" Format="DateTime" ID="{a9930e5a-de85-480e-8959-55fa01ff8b1b}" StaticName="Terminated_x0020_Date" Name="Terminated_x0020_Date"/>
  
  <Field Group="Property Management Columns" Type="URL" DisplayName="Main Image" Required="FALSE" Format="Image" ID="{8f413ec4-360a-4327-83be-b67041f89f16}" StaticName="Main_x0020_Image" Name="Main_x0020_Image"/>

  </Elements>